Skip to content

Conversation

@zaneb
Copy link
Member

@zaneb zaneb commented Oct 29, 2025

Record Claude's experience in running the unit tests and discovering the project structure to CLAUDE.md so that in future it will not have to rediscover any of it from first principles.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Oct 29, 2025
@openshift-ci-robot
Copy link
Contributor

@zaneb: This pull request explicitly references no jira issue.

In response to this:

Record Claude's experience in running the unit tests and discovering the project structure to CLAUDE.md so that in future it will not have to rediscover any of it from first principles.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

zaneb added 2 commits October 30, 2025 00:32
Add guidance for Claude Code covering build commands, testing,
architecture overview, dependency management, and commit conventions.

Assisted-by: Claude Code
Replace hardcoded /tmp path with os.TempDir() to respect TMPDIR
environment variable. Add defer statements to clean up temporary
files created during vSphere simulator initialization.

Assisted-by: Claude Code
zaneb added 3 commits October 30, 2025 08:40
Remove vCenter credentials from agent installer validation tests to
prevent network connection attempts during unit tests. The tests now
validate that credential fields are required when any credential field
is specified, in addition to their original validation logic.

This change reduces test execution time from 60-180 seconds to under
1 second while maintaining test validity. The tests still verify the
same validation errors they were designed to check, plus additional
credential validation.

Also updated test domains from test.vcenter.com to vcenter.test for
consistency with RFC 2606 reserved test domains.

Assisted-by: Claude Code
The integration test setup was not passing through the XDG_CACHE_HOME
environment variable to the test environment, causing tests to fall
back to $HOME/.cache for caching downloaded files. This caused test
failures in environments where $HOME/.cache is not writable but
XDG_CACHE_HOME points to a writable location.

This change ensures that if XDG_CACHE_HOME is set in the test runner's
environment, it is passed through to the integration test environment,
allowing tests to respect the XDG Base Directory specification.

Assisted-by: Claude Code
The testscript framework needs environment variables explicitly passed
through to the test environment. This adds passthrough for proxy variables
(HTTP_PROXY, HTTPS_PROXY, NO_PROXY and lowercase variants) that may be set
by the sandbox or CI environment.

Without these, integration tests running behind a proxy would fail with
network DNS resolution failures when attempting to download resources.

Assisted-by: Claude Code
Copy link
Contributor

@pawanpinjarkar pawanpinjarkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 29, 2025
@bfournie
Copy link
Contributor

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 30, 2025

@zaneb: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn 7607e78 link true /test e2e-aws-ovn
ci/prow/e2e-agent-two-node-fencing-ipv4 7607e78 link false /test e2e-agent-two-node-fencing-ipv4
ci/prow/okd-scos-e2e-aws-ovn 7607e78 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-vsphere-ovn-disk-setup-techpreview 7607e78 link false /test e2e-vsphere-ovn-disk-setup-techpreview

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Comment on lines +23 to +24
# Skip Terraform build (faster)
SKIP_TERRAFORM=y hack/build.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this is no longer true on 4.20+

@patrickdillon
Copy link
Contributor

/approve
Let's go! 🚀

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants